package com.kangfu.db.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 运动处方配置对象 lesson_prescription
 * 
 * @author ruoyi
 * @date 2022-10-14
 */
public class LessonPrescription
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** 第几周的运动处方 */
    private Integer week;

    private BigDecimal price;

    /** 简单描述 */
    private String desc;

    /** 禁忌人群 */
    private String prohibition;

    /** 注意事项 */
    private String attention;


    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setWeek(Integer week) 
    {
        this.week = week;
    }

    public Integer getWeek() 
    {
        return week;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setDesc(String desc)
    {
        this.desc = desc;
    }

    public String getDesc() 
    {
        return desc;
    }
    public void setProhibition(String prohibition) 
    {
        this.prohibition = prohibition;
    }

    public String getProhibition() 
    {
        return prohibition;
    }
    public void setAttention(String attention) 
    {
        this.attention = attention;
    }

    public String getAttention() 
    {
        return attention;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("week", getWeek())
            .append("desc", getDesc())
            .append("prohibition", getProhibition())
            .append("attention", getAttention())
            .toString();
    }
}
